<include file="header" />

<div class="main_container" id="users_page">

	<div class="row-fluid">
		<ul class="breadcrumb">
			<li><a href="#">Home</a> <span class="divider">/</span></li>
			<li><a href="#">Pages</a> <span class="divider">/</span></li>
			<li class="active">Users</li>
		</ul>
		<h2 class="heading">社团信息管理</h2>
	</div>
	<!-- /row-fluid -->



	<div class="row-fluid">
		<div class="widget widget-padding span12">
			<div class="widget-header">
				<i class="icon-group"></i>
				<h5>社团信息</h5>
				<div class="widget-buttons">
					<a href="useradd" data-title="Add User" data-toggle="false"
						data-target="#example_modal"><i class="icon-plus"></i></a> <a
						href="#" data-title="Collapse" data-collapsed="false"
						class="collapse"><i class="icon-chevron-up"></i></a>
				</div>
			</div>

			<!-- /Main window -->

			<div class="widget-body">
				<div id="users_wrapper" class="dataTables_wrapper form-inline"
					role="grid">
					<div class="row-fluid">
						<div class="span6">
							<div id="users_length" class="dataTables_length">
								<label>Entries: <select size="1" name="users_length"
									aria-controls="users"><option value="10"
											selected="selected">10</option>
										<option value="25">25</option>
										<option value="50">50</option>
										<option value="100">100</option></select>
								</label>
							</div>
						</div>
						<div class="span6">
							<div class="dataTables_filter" id="users_filter">
								<label>Search: <input type="text" aria-controls="users"></label>
							</div>
						</div>
					</div>
					
							<table id="users"
								class="table table-striped table-bordered dataTable">
								<thead>
									<tr>
										<td class="col-sm-2">社团编号</td>
										<td class="col-sm-1">社团名称</td>
										<td class="col-sm-1">所在团队名</td>
										<td class="col-sm-1">介绍</td>
										<td class="col-sm-1">Logo</td>
										<td class="col-sm-1">成立日期</td>
										<td class="col-sm-1">负责人学号</td>
									</tr>
								</thead>
								<tbody>

									<volist name="groups" id="gr">
									<tr>

										<td>{$gr.gid}</td>
										<td><a href="groupInfo?gid={$gr.gid}"> {$gr.groupname}</a></td>
										<td>{$gr.team}</td>
										<td>{$gr.intro}</td>
										<td><img src="__PUBLIC__/uploads/photo/{$gr.logo}" width="50px" height="80px"></td>
										<!-- 	__PUBLIC__表示public目录 -->
										<td>{$gr.regdate}</td>
										<td>{$gr.leader}</td>
										<td>
											<div class="btn-group">
												<a class="btn btn-small dropdown-toggle"
													data-toggle="dropdown" href="#"> 操作 <span class="caret"></span>
												</a>
												<ul class="dropdown-menu pull-right">
													<li><a href="updateGroupInfo?gid={$gr.gid}"><i
															class="icon-envelope"></i> 修改 </a></li>
													<li><a href="delgroup?gid={$gr.gid}"><i
															class="icon-edit"></i> 删除 </a></li>


												</ul>
											</div>
										</td>
									</tr>

									</volist>


								</tbody>
						
							</table>
						
						
							<div class="row-fluid">
								<div class="span6">
									<div class="dataTables_info" id="users_info">Showing 1 to
										8 of 8 entries</div>
								</div>
								<div class="span6">
									<div class="dataTables_paginate paging_bootstrap pagination">
										<ul>
											<li class="prev disabled"><a href="#">← Previous</a></li>
											<li class="active"><a href="#">1</a></li>
											<li class="next disabled"><a href="#">Next → </a></li>
										</ul>
									</div>
								</div>
							</div>
						</div>
					
				</div>
				<!-- /widget-body -->
			</div>
			<!-- /widget -->
		</div>
		<!-- /row-fluid -->

	</div>




<include file="footer" />
